package com.gopay.common.user.manager;

import com.gopay.common.constants.microdone.EnumMicroScene;
import com.gopay.common.domain.user.PwdCtrlFingerReqDO;
import com.gopay.common.domain.user.PwdCtrlFingerUserInfo;
import com.gopay.common.vo.PwdCtrlFingerVerifyResultVO;

import javax.servlet.http.HttpServletRequest;

/**
 * 键盘芭蕾用户信息
 * @author yu_liu6@hnair.com
 * @date 2018-05-22 17:09:33
 */
public interface PwdCtrlFingerUserInfoManager {
    PwdCtrlFingerUserInfo findByUserName(String userName);

    void save(PwdCtrlFingerUserInfo info);

    void updateSelective(PwdCtrlFingerUserInfo info);

    PwdCtrlFingerVerifyResultVO fingerAuth(HttpServletRequest request, String userName,
                                           String authUrl, EnumMicroScene operResource);

    PwdCtrlFingerVerifyResultVO fingerLogin(PwdCtrlFingerReqDO reqDO);
}
